//marcin
package pl.edu.ii.uj.battleships.server;
import java.io.*;

/** przechowywuje informacje o kliencie  
 *  @author Marcin Filip	
 */
class ClientDescription{
	private ObjectOutputStream objectOutputStream;
	private String login;
	
	/** Konstruktor 
	 *  @param login klienta
	 *  @param referencje do ObjectOutputStream
	 */
	ClientDescription(String l, ObjectOutputStream out){
		login = l;
		objectOutputStream = out;
	}	

	public String getLogin(){
		return this.login;
	}
	
	public ObjectOutputStream getOutputStream(){
		return this.objectOutputStream;
	}
}